package com.androidplex.bucketlist.start_stuff;

import android.content.Intent;
import android.os.Bundle;
import android.app.Activity;
import android.view.Menu;
import android.os.Handler;

import com.androidplex.bucketlist.ItemListActivity;
import com.androidplex.bucketlist.R;


public class splash extends Activity {

    Handler hand;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_splash);
        hand = new Handler();
        hand.postDelayed(new Runnable(){
            @Override
        public void run(){
                Intent i = new Intent(getApplicationContext(), ItemListActivity.class);
                startActivity(i);
                finish();
            }
        }, 5000);
    }
    
}
